import request from '../utils/request'

export function putPassword(data) {
    return request({
        url: 'v1/user/password',
        method: 'PUT',
        data
    })
}
export function login(data) {
    return request({
        url: 'v1/user/login',
        method: 'post',
        data
    })
}
export function getUserInfo() {
    return request({
        url: 'v1/user/info',
        method: 'get',
    })
}